﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace AdHocReports
{
    public class BasePage : Page
    {
        protected MasterPage MasterPage
        {
            get
            {
                return (MasterPage)this.Master;
            }
        }

        protected ReportDefinition ReportDefinition
        {
            get
            {
                return ReportDefinition.Current;
            }
        }
    }
}
